package com.dbky.alg.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.security.oauth2.SpringCloudSecurityAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: tianchao
 * @Date: 2021/12/11 00:18
 * @Description:
 */
@SpringBootApplication(scanBasePackages="com.dbky.alg")
@RestController
public class APPDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(APPDemoApplication.class, args);
    }
    @ResponseBody
    @GetMapping("hello")
    public String hello(){
        return "helloSecurity!!!";
    }
}
